1*36dcc4a4SLionel Sambuc# $NetBSD: UCS%CP1046.src,v 1.2 2009/11/08 10:37:51 tnozaki Exp $ 2*36dcc4a4SLionel Sambuc 3*36dcc4a4SLionel Sambuc# Copyright (c)2007 Citrus Project, 4*36dcc4a4SLionel Sambuc# All rights reserved. 5*36dcc4a4SLionel Sambuc# 6*36dcc4a4SLionel Sambuc# Redistribution and use in source and binary forms, with or without 7*36dcc4a4SLionel Sambuc# modification, are permitted provided that the following conditions 8*36dcc4a4SLionel Sambuc# are met: 9*36dcc4a4SLionel Sambuc# 1. Redistributions of source code must retain the above copyright 10*36dcc4a4SLionel Sambuc# notice, this list of conditions and the following disclaimer. 11*36dcc4a4SLionel Sambuc# 2. Redistributions in binary form must reproduce the above copyright 12*36dcc4a4SLionel Sambuc# notice, this list of conditions and the following disclaimer in the 13*36dcc4a4SLionel Sambuc# documentation and/or other materials provided with the distribution. 14*36dcc4a4SLionel Sambuc# 15*36dcc4a4SLionel Sambuc# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*36dcc4a4SLionel Sambuc# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*36dcc4a4SLionel Sambuc# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*36dcc4a4SLionel Sambuc# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*36dcc4a4SLionel Sambuc# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*36dcc4a4SLionel Sambuc# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*36dcc4a4SLionel Sambuc# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*36dcc4a4SLionel Sambuc# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*36dcc4a4SLionel Sambuc# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*36dcc4a4SLionel Sambuc# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*36dcc4a4SLionel Sambuc# SUCH DAMAGE. 26*36dcc4a4SLionel Sambuc# 27*36dcc4a4SLionel Sambuc 28*36dcc4a4SLionel SambucTYPE ROWCOL 29*36dcc4a4SLionel SambucNAME "UCS/CP1046" 30*36dcc4a4SLionel SambucSRC_ZONE 0x0000-0xFEFC 31*36dcc4a4SLionel SambucOOB_MODE INVALID 32*36dcc4a4SLionel SambucDST_INVALID 0xFFFF 33*36dcc4a4SLionel SambucDST_UNIT_BITS 16 34*36dcc4a4SLionel Sambuc 35*36dcc4a4SLionel SambucBEGIN_MAP 36*36dcc4a4SLionel Sambuc# 37*36dcc4a4SLionel Sambuc# CP1046 - Arabic Extended 38*36dcc4a4SLionel Sambuc# this mapping data is made from: 39*36dcc4a4SLionel Sambuc# ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/ 40*36dcc4a4SLionel Sambuc# CP0{0864,1046}.{pdf,txt} 41*36dcc4a4SLionel Sambuc# ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP864.TXT 42*36dcc4a4SLionel Sambuc# http://www.unicode.org/charts/PDF/U0600.pdf 43*36dcc4a4SLionel Sambuc# http://www.unicode.org/charts/PDF/UFE70.pdf 44*36dcc4a4SLionel Sambuc# 45*36dcc4a4SLionel Sambuc0x0000 - 0x007F = 0x00 - 46*36dcc4a4SLionel Sambuc0x00A0 = 0xA0 # NO-BREAK SPACE 47*36dcc4a4SLionel Sambuc0x00A4 = 0xA4 # CURRENCY SIGN 48*36dcc4a4SLionel Sambuc0x00D7 = 0x81 # MULTIPLICATION SIGN 49*36dcc4a4SLionel Sambuc0x00F7 = 0x82 # DIVISION SIGN 50*36dcc4a4SLionel Sambuc0x060C = 0xAC # ARABIC COMMA 51*36dcc4a4SLionel Sambuc0x061B = 0xBB # ARABIC SEMICOLON 52*36dcc4a4SLionel Sambuc0x061F = 0xBF # ARABIC QUESTION MARK 53*36dcc4a4SLionel Sambuc0x0640 = 0xE0 # ARABIC TATWEEL 54*36dcc4a4SLionel Sambuc0x0651 = 0xF1 # ARABIC SHADDA 55*36dcc4a4SLionel Sambuc0x0660 - 0x0669 = 0xB0 - # ARABIC-INDIC DIGIT ZERO - NINE 56*36dcc4a4SLionel Sambuc0x20AC = 0xFF # EURO SIGN 57*36dcc4a4SLionel Sambuc0x2500 = 0x8B # BOX DRAWINGS LIGHT HORIZONTAL 58*36dcc4a4SLionel Sambuc0x2502 = 0x8A # BOX DRAWINGS LIGHT VERTICAL 59*36dcc4a4SLionel Sambuc0x250C = 0x8D # BOX DRAWINGS LIGHT DOWN AND RIGHT 60*36dcc4a4SLionel Sambuc0x2510 = 0x8C # BOX DRAWINGS LIGHT DOWN AND LEFT 61*36dcc4a4SLionel Sambuc0x2514 = 0x8E # BOX DRAWINGS LIGHT UP AND RIGHT 62*36dcc4a4SLionel Sambuc0x2518 = 0x8F # BOX DRAWINGS LIGHT UP AND LEFT 63*36dcc4a4SLionel Sambuc0x25A0 = 0x89 # BLACK SQUARE 64*36dcc4a4SLionel Sambuc0xF8F8 = 0xA3 # Hamza Under Aleph (after Lam) != ARABIC LETTER ALEF WITH HAMZA BELOW(0x0625) 65*36dcc4a4SLionel Sambuc0xF8F9 = 0xA2 # Aleph Hamza (after Lam) != ARABIC LETTER ALEF WITH HAMZA ABOVE(0x0623) 66*36dcc4a4SLionel Sambuc0xF8FA = 0xA1 # Aleph Madda (after Lam) != ARABIC LETTER ALEF WITH MADDA ABOVE(0x0622) 67*36dcc4a4SLionel Sambuc0xF8FB = 0xA5 # Aleph (after Lam) != ARABIC LETTER ALEF(0x0627) 68*36dcc4a4SLionel Sambuc0xFE70 = 0xEB # ARABIC FATHATAN ISOLATED FORM 69*36dcc4a4SLionel Sambuc0xFE71 = 0x87 # ARABIC TATWHEEL WITH FATHATAN ABOVE 70*36dcc4a4SLionel Sambuc0xFE72 = 0xEC # ARABIC DAMMATAN ISOLATED FORM 71*36dcc4a4SLionel Sambuc0xFE73 = 0xF6 # ARABIC TAIL FRAGMENT 72*36dcc4a4SLionel Sambuc0xFE74 = 0xED # ARABIC KASRATAN ISOLATED FORM 73*36dcc4a4SLionel Sambuc0xFE76 = 0xEE # ARABIC FATHA ISOLATED FORM 74*36dcc4a4SLionel Sambuc0xFE77 = 0x94 # ARABIC FATHA MEDIAL FORM 75*36dcc4a4SLionel Sambuc0xFE78 = 0xEF # ARABIC DAMMA ISOLATED FORM 76*36dcc4a4SLionel Sambuc0xFE79 = 0x90 # ARABIC LETTER DAMMA MEDIAL FORM 77*36dcc4a4SLionel Sambuc0xFE7A = 0xF0 # ARABIC KASRA ISOLATED FORM 78*36dcc4a4SLionel Sambuc0xFE7B = 0x91 # ARABIC LETTER KASRA MEDIAL FORM 79*36dcc4a4SLionel Sambuc0xFE7D = 0x92 # ARABIC LETTER SHADDA MEDIAL FORM 80*36dcc4a4SLionel Sambuc0xFE7E = 0xF2 # ARABIC SUKUN ISOLATED FORM 81*36dcc4a4SLionel Sambuc0xFE7F = 0x93 # ARABIC LETTER SUKUN MEDIAL FORM 82*36dcc4a4SLionel Sambuc0xFE80 = 0xC1 # ARABIC LETTER HAMZA ISOTATED FORM 83*36dcc4a4SLionel Sambuc0xFE81 = 0xC2 # ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM 84*36dcc4a4SLionel Sambuc0xFE82 = 0xDC # ARABIC LETTER ALEF WITH MADDA ABOVE FINAL FORM 85*36dcc4a4SLionel Sambuc0xFE83 = 0xC3 # ARABIC LETTER ALEF WITH HAMZA ABOVE ISOLATED FORM 86*36dcc4a4SLionel Sambuc0xFE84 = 0xDD # ARABIC LETTER ALEF WITH HAMZA ABOVE FINAL FORM 87*36dcc4a4SLionel Sambuc0xFE85 = 0xC4 # ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM 88*36dcc4a4SLionel Sambuc0xFE87 = 0xC5 # ARABIC LETTER ALEF WITH HAMZA BELOW ISOLATED FORM 89*36dcc4a4SLionel Sambuc0xFE88 = 0x80 # ARABIC LETTER ALEF WITH HAMZA BELOW FINAL FORM 90*36dcc4a4SLionel Sambuc0xFE89 = 0xC6 # ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM 91*36dcc4a4SLionel Sambuc0xFE8A = 0x95 # ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM 92*36dcc4a4SLionel Sambuc0xFE8B = 0xA6 # ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM 93*36dcc4a4SLionel Sambuc0xFE8D = 0xC7 # ARABIC LETTER ALEF ISOLATED FORM 94*36dcc4a4SLionel Sambuc0xFE8E = 0xDE # ARABIC LETTER ALEF FINAL FORM 95*36dcc4a4SLionel Sambuc0xFE8F = 0xC8 # ARABIC LETTER BEH ISOLATED FORM 96*36dcc4a4SLionel Sambuc0xFE91 = 0xA7 # ARABIC LETTER BEH INITIAL FORM 97*36dcc4a4SLionel Sambuc0xFE93 = 0xC9 # ARABIC LETTER TEH MARBUTA ISOLATED FORM 98*36dcc4a4SLionel Sambuc0xFE95 = 0xCA # ARABIC LETTER TEH ISOLATED FORM 99*36dcc4a4SLionel Sambuc0xFE97 = 0xA8 # ARABIC LETTER TEH INITIAL FORM 100*36dcc4a4SLionel Sambuc0xFE99 = 0xCB # ARABIC LETTER THEH ISOLATED FORM 101*36dcc4a4SLionel Sambuc0xFE9B = 0xA9 # ARABIC LETTER THEH INITIAL FORM 102*36dcc4a4SLionel Sambuc0xFE9D = 0xCC # ARABIC LETTER JEEM ISOLATED FORM 103*36dcc4a4SLionel Sambuc0xFE9F = 0xAA # ARABIC LETTER JEEM INITIAL FORM 104*36dcc4a4SLionel Sambuc0xFEA1 = 0xCD # ARABIC LETTER HAH ISOLATED FORM 105*36dcc4a4SLionel Sambuc0xFEA3 = 0xAB # ARABIC LETTER HAH INITIAL FORM 106*36dcc4a4SLionel Sambuc0xFEA5 = 0xCE # ARABIC LETTER KHAH ISOLATED FORM 107*36dcc4a4SLionel Sambuc0xFEA7 = 0xAE # ARABIC LETTER KHAH INITIAL FORM 108*36dcc4a4SLionel Sambuc0xFEA9 = 0xCF # ARABIC LETTER DAL ISOLATED FORM 109*36dcc4a4SLionel Sambuc0xFEAB = 0xD0 # ARABIC LETTER THAL ISOLATED FORM 110*36dcc4a4SLionel Sambuc0xFEAD = 0xD1 # ARABIC LETTER REH ISOLATED FORM 111*36dcc4a4SLionel Sambuc0xFEAF = 0xD2 # ARABIC LETTER REH FINAL FORM 112*36dcc4a4SLionel Sambuc0xFEB1 = 0x83 # ARABIC LETTER SEEN ISOLATED FORM 113*36dcc4a4SLionel Sambuc0xFEB2 = 0xD3 # ARABIC LETTER SEEN FINAL FORM 114*36dcc4a4SLionel Sambuc0xFEB3 = 0xAF # ARABIC LETTER SEEN INITIAL FORM 115*36dcc4a4SLionel Sambuc0xFEB5 = 0x84 # ARABIC LETTER SHEEN ISOLATED FORM 116*36dcc4a4SLionel Sambuc0xFEB6 = 0xD4 # ARABIC LETTER SHEEN FINAL FORM 117*36dcc4a4SLionel Sambuc0xFEB7 = 0xBA # ARABIC LETTER SHEEN INITIAL FORM 118*36dcc4a4SLionel Sambuc0xFEB9 = 0x85 # ARABIC LETTER SAD ISOLATED FORM 119*36dcc4a4SLionel Sambuc0xFEBA = 0xD5 # ARABIC LETTER SAD FINAL FORM 120*36dcc4a4SLionel Sambuc0xFEBB = 0xBC # ARABIC LETTER SAD INITIAL FORM 121*36dcc4a4SLionel Sambuc0xFEBD = 0x86 # ARABIC LETTER DAD ISOLATED FORM 122*36dcc4a4SLionel Sambuc0xFEBE = 0xD6 # ARABIC LETTER DAD FINAL FORM 123*36dcc4a4SLionel Sambuc0xFEBF = 0xBD # ARABIC LETTER DAD INITIAL FORM 124*36dcc4a4SLionel Sambuc0xFEC1 = 0xD7 # ARABIC LETTER TAH ISOLATED FORM 125*36dcc4a4SLionel Sambuc0xFEC5 = 0xD8 # ARABIC LETTER ZAH ISOLATED FORM 126*36dcc4a4SLionel Sambuc0xFEC9 = 0xD9 # ARABIC LETTER AIN ISOLATED FORM 127*36dcc4a4SLionel Sambuc0xFECA = 0xBE # ARABIC LETTER AIN FINAL FORM 128*36dcc4a4SLionel Sambuc0xFECB = 0xC0 # ARABIC LETTER AIN INITIAL FORM 129*36dcc4a4SLionel Sambuc0xFECC = 0xDB # ARABIC LETTER AIN MEDIAL FORM 130*36dcc4a4SLionel Sambuc0xFECD = 0xDA # ARABIC LETTER GHAIN ISOLATED FORM 131*36dcc4a4SLionel Sambuc0xFECE = 0x99 # ARABIC LETTER GHAIN FINAL FORM 132*36dcc4a4SLionel Sambuc0xFECF = 0x9A # ARABIC LETTER GHAIN INITIAL FORM 133*36dcc4a4SLionel Sambuc0xFED0 = 0x9B # ARABIC LETTER GHAIN MEDIAL FORM 134*36dcc4a4SLionel Sambuc0xFED1 = 0xE1 # ARABIC LETTER FEH ISOLATED FORM 135*36dcc4a4SLionel Sambuc0xFED3 = 0xDF # ARABIC LETTER FEH INITIAL FORM 136*36dcc4a4SLionel Sambuc0xFED5 = 0xE2 # ARABIC LETTER QAF ISOLATED FORM 137*36dcc4a4SLionel Sambuc0xFED7 = 0xF3 # ARABIC LETTER QAF INITIAL FORM 138*36dcc4a4SLionel Sambuc0xFED9 = 0xE3 # ARABIC LETTER KAF ISOLATED FORM 139*36dcc4a4SLionel Sambuc0xFEDB = 0xF4 # ARABIC LETTER KAF INITIAL FORM 140*36dcc4a4SLionel Sambuc0xFEDD = 0xE4 # ARABIC LETTER LAM ISOLATED FORM 141*36dcc4a4SLionel Sambuc0xFEDF = 0xF5 # ARABIC LETTER LAM INITIAL FORM 142*36dcc4a4SLionel Sambuc0xFEE1 = 0xE5 # ARABIC LETTER MEEM ISOLATED FORM 143*36dcc4a4SLionel Sambuc0xFEE3 = 0xFB # ARABIC LETTER MEEM INITIAL FORM 144*36dcc4a4SLionel Sambuc0xFEE5 = 0xE6 # ARABIC LETTER NOON ISOLATED FORM 145*36dcc4a4SLionel Sambuc0xFEE7 = 0xFC # ARABIC LETTER NOON INITIAL FORM 146*36dcc4a4SLionel Sambuc0xFEE9 = 0xFE # ARABIC LETTER HEH ISOLATED FORM 147*36dcc4a4SLionel Sambuc0xFEEB = 0xE7 # ARABIC LETTER HEH ISOLATED FORM 148*36dcc4a4SLionel Sambuc0xFEEC = 0xFD # ARABIC LETTER HEH MEDIAL FORM 149*36dcc4a4SLionel Sambuc0xFEED = 0xE8 # ARABIC LETTER WAW ISOLATED FORM 150*36dcc4a4SLionel Sambuc0xFEEF = 0xE9 # ARABIC LETTER ALEF MAKSURA ISOLATED FORM 151*36dcc4a4SLionel Sambuc0xFEF0 = 0x96 # ARABIC LETTER ALEF MAKSUMA FINAL FORM 152*36dcc4a4SLionel Sambuc0xFEF1 = 0xEA # ARABIC LETTER YEH ISOLATED FORM 153*36dcc4a4SLionel Sambuc0xFEF2 = 0x98 # ARABIC LETTER YEH FINAL FORM 154*36dcc4a4SLionel Sambuc0xFEF3 = 0x97 # ARABIC LETTER YEH INITIAL FORM 155*36dcc4a4SLionel Sambuc0xFEF5 = 0xF7 # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE ISOLATED FORM 156*36dcc4a4SLionel Sambuc0xFEF6 = 0x9C # ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE FINAL FORM 157*36dcc4a4SLionel Sambuc0xFEF7 = 0xF8 # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE ISOLATED FORM 158*36dcc4a4SLionel Sambuc0xFEF8 = 0x9D # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE FINAL FORM 159*36dcc4a4SLionel Sambuc0xFEF9 = 0xF9 # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW ISOLATED FORM 160*36dcc4a4SLionel Sambuc0xFEFA = 0x9E # ARABIC LIGATURE LAM WITH ALEF WITH HANZA BELOW FINAL FORM 161*36dcc4a4SLionel Sambuc0xFEFB = 0xFA # ARABIC LIGATURE LAM WITH ALEF ISOLATED FORM 162*36dcc4a4SLionel Sambuc0xFEFC = 0x9F # ARABIC LIGATURE LAM WITH ALEF FINAL FORM 163*36dcc4a4SLionel SambucEND_MAP 164